package com.infore.dataReceiving.repository;

import java.util.Date;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.infore.dataReceiving.entity.ManualData;

@Repository
public interface IManualDataRepository extends JpaRepository<ManualData, String>, JpaSpecificationExecutor<ManualData>  {
    
    public List<ManualData> findByDataTimeBetweenAndStationCode(Date startDate, Date endDate, String stationCode);
    
    public List<ManualData> findByDataTimeAndStationCode(Date date, String stationCode);
}
